home *** CD-ROM | disk | FTP | other *** search
- Path: inforamp.net!ts26-13
- From: rmorin@inforamp.net (Randy Charles Morin)
- Newsgroups: comp.lang.c++
- Subject: Re: HELP: Strange DLL linker warning!
- Date: Tue, 06 Feb 96 22:49:17 GMT
- Organization: MiddleWorld SoftWare
- Message-ID: <4f8ljg$ffl@sam.inforamp.net>
- References: <4f7v88$k40@scotsman.ed.ac.uk>
- NNTP-Posting-Host: ts26-13.tor.inforamp.net
- X-Newsreader: News Xpress Version 1.0 Beta #4
-
- In article <4f7v88$k40@scotsman.ed.ac.uk>,
- Steven <steven@srv1.jig.ed.ac.uk> wrote:
- >hi,
- >
- >I have a DLL and I want to export the functions within it. So in the DLL
- definition
- >file (*.def) at the EXPORT section I have entered the names of the functions
- I want
- >to export. But low and behold I get the following warning:
- >
- >Linker Warning: Attempt to export non-public symbol 'function name'
- >
- >Why? I don't know how to declare these functions as public and I have
- explicitly
- >defined them as _export . Can anyone help. By the way I'm using the 3.1
- compiler.
- >Cheers!
- >
- >Steve
- >
-
- Switches, switches switches. Either, you need to change the case sensitive
- link switches or the export function from DLL switches. I could be wrong
- though.
-
- Agrivar
-